Rising Air Bubble Technique (v2.1)
01/07/2011

Author: Koen Hilgersom (2011)


By running the script 'RisingAirBubbleTechnique_v2_0.m', Matlab can determine the discharge from a picture based on input requested during the script. The input of the picture of consideration and the folders should be inserted into the scri[t manually by the users (lines 37-40).


Calls are made to the following m-files, mat-file and executive file, which should be included in the same folder as the general m-file:

- RABT_Base.m
- RABT_Setpoints.m
- RABT_TmapUndistort.m
- RABT_Fundistort.m
- saveSameSize.m
- logFitHorProfile2.m
- powerFitHorProfile.m
- r2cum.m
- createpolynom.m
- exiftool.exe
- distfact.mat


This release undistorts and warps the complete picture: this makes clear to the user what is actually done, but is also largely time and memory consumptive. In future releases these processes will be only applied to the coordinates of the points of interest.


Outline of the processes:
1. Set up the base grid for the transformation based on the measured relative distances of the reference points;
2. Load the image (the location on the disk and number should be defined in lines 37-40 of the script before running)
3. Mark the bubbles and the nozzle line
4. Undistort the image (in case the image was processed before, the saved version of the undistorted image will be loaded)
5. Warp the image to the base grid after marking the reference points in the image
6. Interpolate these locations (with power function, logarithm and linearly)
7. Warp these interpolations and the bubble locations back to the original image and plot them


---------------------------------------------------------------------------  
      Copyright (C) 2011 Technische Universiteit Delft, 
          Koen Hilgersom
          K.P.Hilgersom@tudelft.nl (correspondence)
 
---------------------------------------------------------------------------  